import Vue from "vue";
import Vuex from "vuex";
import user from "./modules/user";
import goods from "./modules/goods";
import goodsType from "./modules/goodsType";
import shoppingCart from "./modules/shoppingCart";
import pay from "./modules/pay"

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    user,
    goods,
    goodsType,
    shoppingCart,
    pay,
  }
})